<?php
class IndexController extends Zend_Controller_Action
{
    protected $_arrParam = null;
    public function init()
    {
        $this->view->controller = $this->_request->getParam('controller');
        $this->view->action = $this->_request->getParam('action');
        Zend_Loader::loadClass('ContentModel');
       // Zend_Loader::loadClass('AuthModel');            
    }
    

    public function indexAction()
    {
       Zend_Loader::loadClass('ContentModel');
       $params = $this->_arrParam;
       $Model = new ContentModel();
              
	  $listcontent=$Model->getContent();
	  if($listcontent){
	  $this->view->listcontent =$listcontent;
       } 
	   
	   }
  
	
}